﻿@model Pro260Website.Areas.Admin.Models.GameImageViewModel

@{
    ViewBag.Title = "Add Image";
}

<h2 class="title @Html.GetColor(Request.Cookies["color"])">AddImage</h2>

<div id="titlelessItem">
<div class = "item roundTextBox @Html.GetTextBoxColor(Request.Cookies["color"])">
    

    @using (Html.BeginForm("AddImage", "Game", FormMethod.Post, new { enctype = "multipart/form-data" }))
    {
        @Html.HiddenFor(m => m.GameId)
            
        <div>Upload new image: <input type="file" name="Image" class="actionButtons @Html.GetColor(Request.Cookies["color"])" /></div>
        
        <input type="submit" value="Save" class="actionButtons @Html.GetColor(Request.Cookies["color"])" />
        @Html.ActionLink("Cancel", "Index")
    }
</div>
</div>
